Skip to main content

Authentication

Authentication pages to authenticate authorized users

  • Login the user -> 127.0.0.1:5000/result
  • Register new user -> 127.0.0.1:5000/register
  • Logout existing user -> 127.0.0.1:5000/logout

Login

Login function is implemented at main.py: Whenever user presses the login button, it will make a call to /result URL endpoint and login the user by the session created by Flask.

Login!

Signup

Registration function is implemented at main.py: Whenever user presses the register button, it will make a call to /register URL endpoint and login the user upon successful registration.

Signup!

Logout

Logout function is implemented at main.py: Whenever user presses the logout button, it will make a call to logout URL endpoint and logout the user.

Logout!